package com.ibeeking.found.open.service.common.query;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName CouponLockQuery
 * @Description
 * @Author ibeeking
 * @Date 2021-06-04 16:26
 **/
@Data
public class CouponLockQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 券码列表
     */
    @NotEmpty(message = "券码不能为空")
    private List<Long> couponCodes;

    @NotNull(message = "会员id不能为空")
    private Long memberId;

    /**
     * 商户编码
     */
    private String shopCode;
}
